import fetch from 'common/src/utils/fetch'
const api_name = 'api/majorservice'
const group_name = 'enrolPlanCount'

export default{
  'pageUrl': `${api_name}/${group_name}`,
  /**
   * 招生统计导出 
   */
  excel(data){
    return fetch({
      url:`${api_name}/${group_name}/excel`,
      method:'post',
      data:data,
      showMask: false
    })
  },

  /**
   * 招生总人数统计 
   */
  findByGrade(data){
    return fetch({
      url:`${api_name}/${group_name}/total`,
      method:'post',
      data: data
    })
  },
  
  /**
   * 招生统计总表导出 
   */
  excelDeatil(data){
    return fetch({
      url:`${api_name}/${group_name}/detail/excel`,
      method:'post',
      data:data,
      showMask: false
    })
  },
}

